﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master"
    AutoEventWireup="true" CodeBehind="Tab1.aspx.cs" Inherits="Jzy.Web.WorkFlow.Design.Tab1" %>

<%@ Register src="TabItems.ascx" tagname="TabItems" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #buttons input
        {
            height: 22px;
            margin-right: 10px;
            width: 60px;
        }
        .style1
        {
            width: 80px; text-align:right;
            height: 25px;
        }
        .style2
        {
            padding: 3px 0px 3px 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <uc1:TabItems ID="TabItems1" runat="server" TabIndex="0" />
    <asp:Panel ID="pnlMain" runat="server" Style="padding: 0px 20px 0px 20px;">
        <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-top: 5px;">
            <tr>
                <td class="style1">
                    <span class="require">*</span><asp:Literal ID="Literal1" runat="server" Text="流程名称："></asp:Literal>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Name" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="Name" Display="Dynamic" ErrorMessage="请输入流程名称"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal2" runat="server" Text="流程类型："></asp:Literal>
                </td>
                <td class="style2">
                    <asp:DropDownList ID="TypeCode" runat="server" Width="252px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal6" runat="server" Text="驱动方式："></asp:Literal>
                </td>
                <td class="style2">
                    <asp:RadioButtonList ID="DriveMode" runat="server" RepeatDirection="Horizontal">
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal3" runat="server" Text="流程描述："></asp:Literal>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Remark" runat="server" Height="50px" TextMode="MultiLine" Width="252px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span class="require">*</span><asp:Literal ID="Literal4" runat="server" Text="表单文件："></asp:Literal>
                </td>
                <td class="style2">
                    <asp:FileUpload ID="fileForm" runat="server" Width="252px" />
                    <asp:HyperLink ID="lnkDownload" runat="server" Target="_blank">下载</asp:HyperLink>
                </td>
            </tr>
         <%--   <tr>
                <td class="style1">
                    <asp:Literal ID="Literal5" runat="server" Text="相关图片："></asp:Literal>
                </td>
                <td class="style2">
                    
                </td>
            </tr>--%>
        </table>
         <%--  <table width="100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td style="height: 2px;">
                    <img src="../../Common/Images/Common/keyline.gif" alt="" style="height: 2px; width: 100%" />
                </td>
            </tr>
        </table>--%>
        <div style="padding-top: 10px; text-align: left; padding-left: 100px;" id="buttons">
            <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
           
            <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CausesValidation="False" /></div>
    </asp:Panel>
</asp:Content>
